<template>
	<el-table :data="tableData" style="width: 100%" stripe>
      <el-table-column prop="title" label="标题"></el-table-column>
      <el-table-column prop="intro" label="简介"></el-table-column>
      <el-table-column prop="pubtime" label="发布时间"></el-table-column>
      <el-table-column prop="stars" label="点赞数"></el-table-column>
      <el-table-column prop="pageview" label="浏览次数"></el-table-column>
      <el-table-column fixed="right" label="操作" width="100">
	      <template slot-scope="scope">
	        <el-button type="text" size="small">删除</el-button>
	        <el-button type="text" size="small">编辑</el-button>
	      </template>
    </el-table-column>
    </el-table>
</template>
<script>
	export default{
		name:'BlogList',
		 data() {
        return {
          tableData: [{
            title: '第一篇博文',
            intro: '这是建立博客后的第一篇博文',
            pubtime: '2018-10-9',
            stars:10,
            pageview:10
          }]
        }
      }
	}
</script>